package org.empire.model;

import java.io.Serializable;

public class WebSite implements Serializable{

	private String name;
	private Menu menu;
	private String title;
	private String logo;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public WebSite() {
		this.name = "MyFirstWicketWebSite";
		this.title = "WicketWebsiteTitle";
		this.menu = new Menu();
		this.loadMenu();		
	}
	
	private void loadMenu() {
		this.menu.addMenuItem(new MenuItem("Wicket"));
		this.menu.addMenuItem(new MenuItem("Leo"));
		this.menu.addMenuItem(new MenuItem("Contacto"));
		this.menu.addMenuItem(new MenuItem("Inicio"));
	}

	public Menu getMenu() {
		return menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}
}
